package com.glink.manage.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @author  qiushaoshan
* @since 2024-07-05
*/
@EqualsAndHashCode(callSuper = true)
@TableName("center_attachment_image")
@ApiModel(value="AttachmentImageBean", description="")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AttachmentImageBean extends Model<AttachmentImageBean> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "图片存放相对路径")
    private String pointer;

    @ApiModelProperty(value = "图片名称")
    private String name;

    @ApiModelProperty(value = "模型类型，定义所属的设备，如厂站、设备、智能设备等等")
    private String modelType;

    @ApiModelProperty(value = "单位ID")
    private String orgId;

    @ApiModelProperty(value = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField(fill = FieldFill.UPDATE)
    private String updateUser;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "数据来源")
    private String dataSource;
}
